package com.haidao.admin.component.dao;

import com.haidao.admin.component.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author lyy
 * @Date 2023/11/9
 */
@Repository
public interface UserDao extends JpaRepository<User,Long> {

    User findUserByUserName(String userName);

}
